<?php
class Meta extends AppModel{
    var $useTable = "rs_meta";
    public $name = "Meta";
	var $primaryKey = "metaId";
	var $foreignKey = "tagsId";
    var $belongsTo = array(
        'Tags' => array(
            'className'    => 'Tags',
            'conditions'   => '',
            'order'        => '',
            'fields'        => array('Tags.tags','Tags.tagsId','Tags.slug'),
            'dependent'    =>  true,
            'foreignKey'   => 'tagsId'
        ),
    );

}